package com.wzw.creature;

import com.wzw.transport.Transport;

public class Person {
    private String id;
    private String name;
    private String age;
    private String Sex;

    public Person() {
    }

    public void DriveTransport(Transport transport){
        System.out.println("driving"+transport.getId());
    }

    public Person(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getSex() {
        return Sex;
    }

    public void setSex(String sex) {
        Sex = sex;
    }
}
